BigCommerce\Webhooks\Webhook S

Total Complexity 32
Dependencies 2
Dependents 4
Total lines 283
Lines of code 115
Logical lines of code 64
Comment lines 104
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
validate()
S
56 7 18
update()
S
49 5 32
is_webhook_exist()
S
58 5 15
generate_password()
S
66 2 8
delete()
S
66 2 8
receive()
S
66 2 9
__construct()
S
81 1 3
get_name()
S
81 1 3
get_auth_header()
S
78 1 3
create()
S
80 1 3
update_webhook()
S
80 1 3
destination()
S
79 1 3
scope()
S
81 1 3
get_webhook_payload()
S
75 1 4
trigger_action()
S
100 1 0